# eric7.MicroPython.EthernetDialogs.EthernetStatusDialog

Module implementing a dialog to show Ethernet related status information.

### Global Attributes

None

### Classes

EthernetStatusDialog | Class implementing a dialog to show Ethernet related status information.

### Functions

None

## EthernetStatusDialog

Class implementing a dialog to show Ethernet related status information.

### Derived from

QDialog, Ui_EthernetStatusDialog

### Class Attributes

None

### Class Methods

None

### Methods

EthernetStatusDialog | Constructor
__createHeader | Private method to create a subheader item.
__showStatus | Private slot to show the current WiFi status.
show | Public slot to show the dialog and populate the status.

### Static Methods

None

#### EthernetStatusDialog (Constructor)

EthernetStatusDialog(microPython, parent=None)

Constructor

microPython (MicroPythonWidget)
  reference to the MicroPython widget
parent (QWidget (optional))
  reference to the parent widget (defaults to None)

#### EthernetStatusDialog.__createHeader

__createHeader(parent, text, underlined=True)

Private method to create a subheader item.

parent (QTreeWidgetItem)
  reference to the parent item
text (str)
  text for the header item
underlined (bool (optional))
  flag indicating an underlined header (defaults to True)

Return:
  reference to the created header item

Return Type:
  QTreeWidgetItem

#### EthernetStatusDialog.__showStatus

__showStatus()

Private slot to show the current WiFi status.

#### EthernetStatusDialog.show

show()

Public slot to show the dialog and populate the status.

Up